package com.app.game.bet.numeric;

public class BetStreet extends BetNumeric {
private int initialNumber;
	
	public BetStreet(int initialNumber) {
		this.initialNumber = initialNumber;
		setRating(11);
	}

	@Override
	protected boolean isWin(int result) {
		if(result >= initialNumber && result <= initialNumber+2){
			return true;
		}
		return false;
	}
}
